import { ref } from 'vue'
const time = ref("00:00:00");
const startTime = () => {
    const now = new Date();
    const h = now.getHours();
    const m = now.getMinutes();
    const s = now.getSeconds();
    time.value = h + ":" + m + ":" + s;
    setTimeout(startTime, 1000);
};

export { startTime, time }